const State = {
  test: 1,
};
const Mutations = {
  setTest(store, value) {
    store.setState("test", value);
  },
};
const Getters = {};
const Actions = {
  fetchWebContent(store, json) {
    return new Promise((resolve, reject) => {
      store
        .commit("setTest", 2)
        .then((res) => resolve(res))
        .catch((err) => reject(err));
    });
  },
};
exports.state = State;
exports.actions = Actions;
exports.mutations = Mutations;
exports.getters = Getters;
